package sq.service;

import sq.dao.Cart;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: sunquan
 * @Date: 2018/3/5
 * @Time: 14:28
 */

public interface CartService {
    String addFoodByCart(Integer foodId, double price,Integer buyNumber,HttpServletRequest request);
    List<Cart> findCart(HttpServletRequest request);
    void deletCart(int cartId);
    void deleteAllCart(String checkedId,HttpServletRequest request);

    void delCart(String cartId);
}
